package com.example.administrator.babymusic.net;

import org.json.JSONObject;

import java.util.Map;

public interface ISTNetWork {

	public void post(STRequest request, STHttpCallback<JSONObject> callback);
	public void query(String url, JSONObject requestJson, final Map<String, Object> params,
					  final STHttpCallback<JSONObject> callback);
	public void setBeforeQueryHook(STNetTask.BeforeQueryHook hook);
	public void setAfterQueryHook(STNetTask.AfterQueryHook hook);
}